<?phpnamespace Home\Widget;use Think\Controller;class CateWidget extends Controller {//暂时无用	public function getClass(){		$Class = M('class');		$data = $Class->order('id desc')->select();		$this->assign('data',$data);		$this -> display('Cate:class');	}	public function favoritesget(){			$tbk  = new \Org\Tbk\Tbk;		$ret =  $tbk->getUatmFavoritesGetRequest();		$data = $ret['results']['tbk_favorites'];		$this->assign('data',$data);		$this -> display('Cate:class');	}	}